/*
 * Copyright (C), 2013-2016, 汇通达网络有限公司
 * FileName: CommonResult.java
 * Author:   杨振宁
 * Date:     2016年5月12日 下午2:43:43
 * Description: //模块目的、功能描述
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.htd.htdapmapi.alarm.result;

import lombok.Data;

import java.io.Serializable;

/**
 *  实体类（创建告警接口API--出参）
 *
 */
@Data
public class AlarmResult implements Serializable {
    /**
     */
    private static final long serialVersionUID = 1L;

    private static final String SUCCESS_CODE ="0000";

    private static final String SUCCESS_MSG = "成功";

    public AlarmResult() {
        this.responseCode=SUCCESS_CODE;
        this.responseMsg=SUCCESS_MSG;
    }

    private String responseCode;

    private String responseMsg;

    public void fail(String responseCode, String responseMsg){
        this.responseCode=responseCode;
        this.responseMsg=responseMsg;
    }

   
}
